<include file="Public/header"/>
<center><h2><b>请填写动态信息</b></h2></center>
<form action="{:U('news/add')}" method="post" class="form-horizontal"  enctype="multipart/form-data">


<br><br><br><br>
<div class="form-group">
    <label for="name" class="col-sm-2 control-label"><font size="4">标题</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="ydq_title"  id="name" placeholder="Title" required="">
    </div>
  </div>
<br>
  <div class="form-group">
    <label for="pass" class="col-sm-2 control-label"><font size="4">动态缩略图</label>
    <div class="col-sm-10">
      <input type="file" class="form-control" name="ydq_pic"  id="pass" placeholder="Pic" required="">
    </div>
  </div>
  <br>

    <div class="form-group">
    <label for="num" class="col-sm-2 control-label"><font size="4">内容</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="ydq_content" id="num" placeholder="Content" required="">
    </div>
  </div>
  <br>

    <div class="form-group">
    <label for="photo" class="col-sm-2 control-label"><font size="4">发布时间</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="ydq_ntime" id="photo" placeholder="Ntime">
    </div>
  </div>
     <br> 


  


     <div class="form-group">
    <label  class="col-sm-2 control-label"><font size="4"></label>
    <div class="col-sm-10">
      <input type="submit" class="btn btn-success"  value="提交" /><input type="reset" class="btn btn-warning" name="intro" value="重置" id="1"  />
    </div>
  </div>

  



</form>
<include file="Public/foot"/>